import request from '@/utils/request'

// 查询粉煤灰含水率列表
export function listChlFmhhslBsInfo(query) {
  return request({
    url: '/report_chl/chlFmhhslBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询粉煤灰含水率详细
export function getChlFmhhslBsInfo(excelId) {
  return request({
    url: '/report_chl/chlFmhhslBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增粉煤灰含水率
export function addChlFmhhslBsInfo(data) {
  return request({
    url: '/report_chl/chlFmhhslBsInfo',
    method: 'post',
    data: data
  })
}

// 修改粉煤灰含水率
export function updateChlFmhhslBsInfo(data) {
  return request({
    url: '/report_chl/chlFmhhslBsInfo',
    method: 'put',
    data: data
  })
}

// 删除粉煤灰含水率
export function delChlFmhhslBsInfo(excelId) {
  return request({
    url: '/report_chl/chlFmhhslBsInfo/' + excelId,
    method: 'delete'
  })
}
